<template>
  <div>
    <el-button type="primary" @click="onOpenImChat">在线会商</el-button>

    <im-chat ref="imChatRef"></im-chat>
  </div>
</template>

<script>
export default {
  name: 'im-chat-page',
  data() {
    return {
      visible: false,
    };
  },
  methods: {
    onOpenImChat() {
      this.$refs.imChatRef.dialogVisible = true;
    },
  },
};
</script>

<style lang="scss" scoped></style>
